@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/com/business/business_edit.js"]}){
<form id="businessForm" lay-filter="businessForm" class="layui-form model-form">
    <input name="businessId" type="hidden"/>
    <!--<div class="layui-form-item">-->
    <!--<label class="layui-form-label">文章类型<span style="color: red;">*</span></label>-->
    <!--<div class="layui-input-block">-->
    <!--<input name="type" id="type" placeholder="请输入文章类型" type="text" class="layui-input" lay-verify="required" required/>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="layui-form-item">-->
    <!--<label class="layui-form-label">主图<span style="color: red;">*</span></label>-->
    <!--<div class="layui-input-block">-->
    <!--<input name="mainImg" id="mainImg" placeholder="请输入主图" type="text" class="layui-input" lay-verify="required" required/>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="layui-form-item">-->
    <div class="layui-inline">
        <button type="button" class="layui-btn" id="test1">上传图片</button>
    </div>
    <div class="layui-inline">
        <div class="layui-upload-list">
            <img class="layui-upload-img" name="mainImg" id="demo1" style="width: 200px;height: 150px;" align="图片">
            <p id="demoText"></p>
        </div>
    </div>
    <!--<div class="layui-form-item">-->
    <!--<label class="layui-form-label">子图JSON<span style="color: red;">*</span></label>-->
    <!--<div class="layui-input-block">-->
    <!--<input name="subImg" id="subImg" placeholder="请输入子图JSON" type="text" class="layui-input" lay-verify="required" required/>-->
    <!--</div>-->
    <!--</div>-->
    <div class="layui-form-item">
        <label class="layui-form-label">标题<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="title" id="title" placeholder="请输入标题" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">来源<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="remark" id="remark" placeholder="请输入来源" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">内容<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <textarea class="layui-textarea" name="content" id="content" style="display: none;" lay-verify="content_desc" ></textarea>

        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
